// --------------------------------------------------------------------------------------------------------------------
// <copyright file="IRoleInstanceEndpoint.cs" company="AzureContrib (Open source library http://azurecontrib.codeplex.com)">
//   Microsoft Public License (Ms-PL)
// </copyright>
// <summary>
//   Wrapper contract for Microsoft Windows Azure RoleInstanceEndpoint
// </summary>
// --------------------------------------------------------------------------------------------------------------------

using System.Net;

namespace AzureContrib.WindowsAzure.ServiceRuntime
{
	/// <summary>
	/// Wrapper contract for Microsoft Windows Azure RoleInstanceEndpoint
	/// </summary>
	public interface IRoleInstanceEndpoint
	{
		/// <summary>
		/// Gets Microsoft Windows Azure RoleInstanceEndpoint.IPEndpoint
		/// </summary>
		IPEndPoint IPEndpoint { get; }

		/// <summary>
		/// Gets Microsoft Windows Azure RoleInstanceEndpoint.Protocol
		/// </summary>
		string Protocol { get; }

		/// <summary>
		/// Gets Microsoft Windows Azure RoleInstanceEndpoint.RoleInstance
		/// </summary>
		IRoleInstance RoleInstance { get; }
	}
}